﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace FeiraGame_XNA
{
    public static class Tools
    {
        public static GameWindow Window { get; private set; }
        public static ContentManager Content { get; private set; }
        public static GraphicsDevice GraphicsDevice { get; private set; }
        /// <summary>
        /// Initialize
        /// </summary>
        #region Initialize
        public static void Initialize(Game1 game)
        {
            Window = game.Window;
            Content = game.Content;
            GraphicsDevice = game.GraphicsDevice;
        }
        #endregion

        #region Trace's
        public static void Trace(object toTrace)
        {
            Window.Title = toTrace.ToString();
        }
        public static void Trace(string toTrace)
        {
            Window.Title = toTrace;
        }
        #endregion

    }
}
